from random import randint as rnd
a = 0
g = int(input())
for i in range (g):
    x = rnd(-100, 100)
    y = rnd(-100, 100)
    if 5 > x > -7 and -8 < y <5:
        a = a+1
print("Количество выстрелов: ", g)
print("Количество попаданий:  ", a)
    
